-- GENERATED SPELL FOR [Gor'drek] --


function spell0_21117(pUnit, Event) --@Lightning Shield,n/a--
pUnit:FullCastSpellOnTarget(12550,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_21117', 0, 1)
end

function Sorts_21117(pUnit, Event)
local choix_sorts_21117 = math.random(0, 0)
if choix_sorts_21117 == 0 then
pUnit:RegisterEvent('spell0_21117', 1, 1)
end
end

function mob21117_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_21117', math.random(1500, 3000), 1)
end

function mob21117_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21117_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21117_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(21117, 1, 'mob21117_Action')
RegisterUnitEvent(21117, 2, 'mob21117_Leave')
RegisterUnitEvent(21117, 3, 'mob21117_Kill')
RegisterUnitEvent(21117, 4, 'mob21117_Die')
